package com.xbongbong.paas.pojo.workflow.explains.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @date 2021/05/28 10:11
 */
@Getter
@Setter
@ToString
public class WorkflowOperatorFieldDTO extends BaseDTO {

    private static final long serialVersionUID = -7011270344329476930L;
    @NotNull(message = "{dto.msg.workflowId.NotNull}")
    private Long workflowId;

    @NotNull(message = "{dto.msg.workflowNodeId.NotNull}")
    private Long workflowNodeId;


    /**
     * 条件值
     */
    @NotNull(message = "{dto.msg.formId.NotNull}")
    private Long formId;

    @NotNull(message = "{dto.msg.saasMark.NotNull}")
    private Integer saasMark;

    @NotNull(message = "{dto.msg.businessType.NotNull}")
    private Integer businessType;
    /**
     * 更新对象节点id，只有更新节点传
     */
    private Long updateNodeId;
    /**
     * 节点类型
     * @see com.xbongbong.workflow.enums.WorkflowNodeTypeEnum
     */
    private Integer type;


}
